.class Lcom/waiqin365/lightwork/tracker/p;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/p;->a:Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/p;->a:Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;->a(Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;)Lcom/waiqin365/lightwork/tracker/model/o;

    move-result-object v0

    add-int/lit8 v1, p3, -0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/o;->a(I)Lcom/waiqin365/lightwork/tracker/model/s;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/p;->a:Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;

    invoke-static {v1, v0}, Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;->a(Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;Lcom/waiqin365/lightwork/tracker/model/s;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/p;->a:Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;->a(Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;)Lcom/waiqin365/lightwork/tracker/model/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/o;->b()Lcom/waiqin365/lightwork/tracker/t;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/p;->a:Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;->a(Lcom/waiqin365/lightwork/tracker/TrackerHistoryActivity;)Lcom/waiqin365/lightwork/tracker/model/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/o;->b()Lcom/waiqin365/lightwork/tracker/t;

    move-result-object v0

    invoke-interface {v0}, Lcom/waiqin365/lightwork/tracker/t;->a()V

    :cond_0
    return-void
.end method
